home *** CD-ROM | disk | FTP | other *** search
- unit Tbarform;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs;
-
- type
- TTaskBarForm = class(TComponent)
- private
- { Private declarations }
- TheForm : TCCTaskBarForm;
- FOnCreate : TNotifyEvent;
- FOnDestroy : TNotifyEvent;
- FOnShow : TNotifyEvent;
- FTop : Integer;
- FLeft : Integer;
- protected
- { Protected declarations }
- public
- { Public declarations }
- constructor Create( AOwner : TComponent ); override;
- destructor Destroy; override;
- procedure Show;
- published
- { Published declarations }
- property Top : Integer read FTop write FTop;
- property Left : Integer read FLeft write FLeft;
- property OnCreate : TNotifyEvent read FOnCreate write FOnCreate;
- property OnDestroy : TNotifyEvent read FOnDestroy write FOnDestroy;
- property OnShow : TNotifyEvent read FOnShow write FOnShow;
- end;
-
- procedure Register;
-
- implementation
-
- procedure Register;
- begin
- RegisterComponents('Goodies', [TTaskBarForm]);
- end;
-
- end.
-